This document is being rendered to {{ docma.format }}.
| Description | {{ docma.template.description }} |
|---|---|
| Owner | {{ docma.template.owner }} |
| Template version | {{ docma.template.version }} |
| Docma version | {{ docma.version }} |
| Produced | {{ docma.datetime.datetime.today().date() | date }} |
This table uses Jinja rendering to dynamically inject data attributes from the document template (description, owner etc.).
This is a sample of a dynamically generated chart. The source data in this example is a CSV file contained in the document template. We could have used a database query just as easily. The chart definition specifies the y-axis to be sorted in ascending order of woof-power.
| Dog | Woof |
|---|---|
| {{ row.Dog }} | {{ row.Woof }} |
This table was included by reference to a CSV file in the template. It is using the same base data file as the graph above. In this case, the table is being sorted by name of dog.